package com.py.od.domain;


import java.math.BigDecimal;
import java.util.List;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 调拨明细对象 od_transfer_details
 * 
 * @author py
 * @date 2024-12-04
 */
public class OdTransferDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 调拨明细表 ID */
    private Long transferDetailId;

    /** 调拨单号 */
    @Excel(name = "调拨单号")
    private String transferNumber;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String productCode;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String specificationNumber;

    /** 单位（比如：1-件，2-公斤等） */
    @Excel(name = "单位", readConverterExp = "比=如：1-件，2-公斤等")
    private Long unit;

    /** 商品类型 */
    @Excel(name = "商品类型")
    private String productType;

    /** 调出仓库当前库存 */
    @Excel(name = "调出仓库当前库存")
    private Long outboundWarehouseId;

    /** 调入仓库当前库存 */
    @Excel(name = "调入仓库当前库存")
    private Long inboundWarehouseId;

    /** 调拨数量 */
    @Excel(name = "调拨数量")
    private int transferQuantity;

    /** 入库单价 */
    @Excel(name = "入库单价")
    private BigDecimal inboundPrice;

    /** 调拨金额 */
    @Excel(name = "调拨金额")
    private BigDecimal transferAmount;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    /** 伪删除标识（0: 未删除, 1: 已删除） */
    @Excel(name = "伪删除标识", readConverterExp = "0=:,未=删除,,1=:,已=删除")
    private Integer isDeleted;

    @Excel(name = "调入仓库库位")
    private String dlLocationCode;
    @Excel(name = "调出仓库库位")
    private String dcLocationCode;
    private List<Product> productList;

    public String getDlLocationCode() {
        return dlLocationCode;
    }

    public void setDlLocationCode(String dlLocationCode) {
        this.dlLocationCode = dlLocationCode;
    }

    public String getDcLocationCode() {
        return dcLocationCode;
    }

    public void setDcLocationCode(String dcLocationCode) {
        this.dcLocationCode = dcLocationCode;
    }

    public Long getTransferDetailId() {
        return transferDetailId;
    }

    public void setTransferDetailId(Long transferDetailId) {
        this.transferDetailId = transferDetailId;
    }

    public String getTransferNumber() {
        return transferNumber;
    }

    public void setTransferNumber(String transferNumber) {
        this.transferNumber = transferNumber;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getSpecificationNumber() {
        return specificationNumber;
    }

    public void setSpecificationNumber(String specificationNumber) {
        this.specificationNumber = specificationNumber;
    }

    public Long getUnit() {
        return unit;
    }

    public void setUnit(Long unit) {
        this.unit = unit;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public Long getOutboundWarehouseId() {
        return outboundWarehouseId;
    }

    public void setOutboundWarehouseId(Long outboundWarehouseId) {
        this.outboundWarehouseId = outboundWarehouseId;
    }

    public Long getInboundWarehouseId() {
        return inboundWarehouseId;
    }

    public void setInboundWarehouseId(Long inboundWarehouseId) {
        this.inboundWarehouseId = inboundWarehouseId;
    }

    public int getTransferQuantity() {
        return transferQuantity;
    }

    public void setTransferQuantity(int transferQuantity) {
        this.transferQuantity = transferQuantity;
    }

    public BigDecimal getInboundPrice() {
        return inboundPrice;
    }

    public void setInboundPrice(BigDecimal inboundPrice) {
        this.inboundPrice = inboundPrice;
    }

    public BigDecimal getTransferAmount() {
        return transferAmount;
    }

    public void setTransferAmount(BigDecimal transferAmount) {
        this.transferAmount = transferAmount;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public List<Product> getProductList() {
        return productList;
    }

    public void setProductList(List<Product> productList) {
        this.productList = productList;
    }

    @Override
    public String toString() {
        return "OdTransferDetails{" +
                "transferDetailId=" + transferDetailId +
                ", transferNumber='" + transferNumber + '\'' +
                ", productName='" + productName + '\'' +
                ", productCode='" + productCode + '\'' +
                ", specificationNumber='" + specificationNumber + '\'' +
                ", unit=" + unit +
                ", productType='" + productType + '\'' +
                ", outboundWarehouseId=" + outboundWarehouseId +
                ", inboundWarehouseId=" + inboundWarehouseId +
                ", transferQuantity=" + transferQuantity +
                ", inboundPrice=" + inboundPrice +
                ", transferAmount=" + transferAmount +
                ", notes='" + notes + '\'' +
                ", isDeleted=" + isDeleted +
                ", dlLocationCode='" + dlLocationCode + '\'' +
                ", dcLocationCode='" + dcLocationCode + '\'' +
                ", productList=" + productList +
                '}';
    }
}
